package com.yezao.testing.jvmUt;

import android.text.TextUtils;

import java.util.Map;

public class Utils {

    private final Map<String,String> cache;

    public Utils(Map<String, String> cache) {
        this.cache = cache;
    }

    public String getName(){
        return "name";
    }


    public void setValue(String key,String value){

        if (TextUtils.isEmpty(key)) {
            return;
        }
        cache.put(key,value);
    }
    public String getValue(String key){
        return cache.get(key);
    }


}
